Skip to content

Conversation

@chlowell
Copy link
Member

Part of #2281. Appears this was added to support special DefaultAzureCredential behavior when requesting tokens from IMDS. That feature's since been removed and I don't expect to restore it.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@chlowell chlowell marked this pull request as ready for review April 28, 2025 20:12
Copilot AI review requested due to automatic review settings April 28, 2025 20:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the unused azure_identity::timeout module that was previously used for handling custom timeout behavior for DefaultAzureCredential, which has now been deprecated.

  • Removed the entire timeout.rs file.
  • Removed the module declaration from lib.rs.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sdk/identity/azure_identity/src/timeout.rs Complete removal of unused timeout functionality.
sdk/identity/azure_identity/src/lib.rs Removed the outdated "timeout" module reference.

Copy link
Member

@heaths heaths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LarryOsterman this or something like it you might want to consider for the AsyncRuntime you're considering.

@github-project-automation github-project-automation bot moved this from Untriaged to In Progress in Azure Identity SDK Improvements Apr 28, 2025
@chlowell chlowell merged commit 71917a2 into Azure:main Apr 28, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure Identity SDK Improvements Apr 28, 2025
@chlowell chlowell deleted the deadcode branch April 28, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Identity The azure_identity crate

Projects

Development

Successfully merging this pull request may close these issues.

4 participants